Optimal. Leaf size=89 \[ \frac {1}{16} (5 A+6 C) x+\frac {(5 A+6 C) \cos (c+d x) \sin (c+d x)}{16 d}+\frac {(5 A+6 C) \cos ^3(c+d x) \sin (c+d x)}{24 d}+\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {4130, 2715, 8}
\begin {gather*} \frac {(5 A+6 C) \sin (c+d x) \cos ^3(c+d x)}{24 d}+\frac {(5 A+6 C) \sin (c+d x) \cos (c+d x)}{16 d}+\frac {A \sin (c+d x) \cos ^5(c+d x)}{6 d}+\frac {1}{16} x (5 A+6 C) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2715
Rule 4130
Rubi steps
\begin {align*} \int \cos ^6(c+d x) \left (A+C \sec ^2(c+d x)\right ) \, dx &=\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d}+\frac {1}{6} (5 A+6 C) \int \cos ^4(c+d x) \, dx\\ &=\frac {(5 A+6 C) \cos ^3(c+d x) \sin (c+d x)}{24 d}+\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d}+\frac {1}{8} (5 A+6 C) \int \cos ^2(c+d x) \, dx\\ &=\frac {(5 A+6 C) \cos (c+d x) \sin (c+d x)}{16 d}+\frac {(5 A+6 C) \cos ^3(c+d x) \sin (c+d x)}{24 d}+\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d}+\frac {1}{16} (5 A+6 C) \int 1 \, dx\\ &=\frac {1}{16} (5 A+6 C) x+\frac {(5 A+6 C) \cos (c+d x) \sin (c+d x)}{16 d}+\frac {(5 A+6 C) \cos ^3(c+d x) \sin (c+d x)}{24 d}+\frac {A \cos ^5(c+d x) \sin (c+d x)}{6 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 68, normalized size = 0.76 \begin {gather*} \frac {60 A c+72 c C+60 A d x+72 C d x+(45 A+48 C) \sin (2 (c+d x))+(9 A+6 C) \sin (4 (c+d x))+A \sin (6 (c+d x))}{192 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.58, size = 86, normalized size = 0.97
method | result | size |
risch | \(\frac {5 A x}{16}+\frac {3 C x}{8}+\frac {A \sin \left (6 d x +6 c \right )}{192 d}+\frac {3 A \sin \left (4 d x +4 c \right )}{64 d}+\frac {\sin \left (4 d x +4 c \right ) C}{32 d}+\frac {15 A \sin \left (2 d x +2 c \right )}{64 d}+\frac {\sin \left (2 d x +2 c \right ) C}{4 d}\) | \(85\) |
derivativedivides | \(\frac {A \left (\frac {\left (\cos ^{5}\left (d x +c \right )+\frac {5 \left (\cos ^{3}\left (d x +c \right )\right )}{4}+\frac {15 \cos \left (d x +c \right )}{8}\right ) \sin \left (d x +c \right )}{6}+\frac {5 d x}{16}+\frac {5 c}{16}\right )+C \left (\frac {\left (\cos ^{3}\left (d x +c \right )+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )}{d}\) | \(86\) |
default | \(\frac {A \left (\frac {\left (\cos ^{5}\left (d x +c \right )+\frac {5 \left (\cos ^{3}\left (d x +c \right )\right )}{4}+\frac {15 \cos \left (d x +c \right )}{8}\right ) \sin \left (d x +c \right )}{6}+\frac {5 d x}{16}+\frac {5 c}{16}\right )+C \left (\frac {\left (\cos ^{3}\left (d x +c \right )+\frac {3 \cos \left (d x +c \right )}{2}\right ) \sin \left (d x +c \right )}{4}+\frac {3 d x}{8}+\frac {3 c}{8}\right )}{d}\) | \(86\) |
norman | \(\frac {\left (-\frac {5 A}{16}-\frac {3 C}{8}\right ) x +\left (-\frac {45 A}{16}-\frac {27 C}{8}\right ) x \left (\tan ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (-\frac {25 A}{16}-\frac {15 C}{8}\right ) x \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (-\frac {25 A}{16}-\frac {15 C}{8}\right ) x \left (\tan ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (\frac {5 A}{16}+\frac {3 C}{8}\right ) x \left (\tan ^{14}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (\frac {25 A}{16}+\frac {15 C}{8}\right ) x \left (\tan ^{8}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (\frac {25 A}{16}+\frac {15 C}{8}\right ) x \left (\tan ^{12}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (\frac {45 A}{16}+\frac {27 C}{8}\right ) x \left (\tan ^{10}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-\frac {\left (11 A +10 C \right ) \tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{8 d}-\frac {\left (11 A +10 C \right ) \left (\tan ^{13}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{8 d}+\frac {\left (15 A +2 C \right ) \left (\tan ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{2 d}+\frac {\left (19 A -6 C \right ) \left (\tan ^{3}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{12 d}-\frac {5 \left (19 A -6 C \right ) \left (\tan ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{24 d}-\frac {5 \left (19 A -6 C \right ) \left (\tan ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{24 d}+\frac {\left (19 A -6 C \right ) \left (\tan ^{11}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{12 d}}{\left (1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )^{6} \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )-1\right )}\) | \(341\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.50, size = 103, normalized size = 1.16 \begin {gather*} \frac {3 \, {\left (d x + c\right )} {\left (5 \, A + 6 \, C\right )} + \frac {3 \, {\left (5 \, A + 6 \, C\right )} \tan \left (d x + c\right )^{5} + 8 \, {\left (5 \, A + 6 \, C\right )} \tan \left (d x + c\right )^{3} + 3 \, {\left (11 \, A + 10 \, C\right )} \tan \left (d x + c\right )}{\tan \left (d x + c\right )^{6} + 3 \, \tan \left (d x + c\right )^{4} + 3 \, \tan \left (d x + c\right )^{2} + 1}}{48 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.14, size = 68, normalized size = 0.76 \begin {gather*} \frac {3 \, {\left (5 \, A + 6 \, C\right )} d x + {\left (8 \, A \cos \left (d x + c\right )^{5} + 2 \, {\left (5 \, A + 6 \, C\right )} \cos \left (d x + c\right )^{3} + 3 \, {\left (5 \, A + 6 \, C\right )} \cos \left (d x + c\right )\right )} \sin \left (d x + c\right )}{48 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.47, size = 96, normalized size = 1.08 \begin {gather*} \frac {3 \, {\left (d x + c\right )} {\left (5 \, A + 6 \, C\right )} + \frac {15 \, A \tan \left (d x + c\right )^{5} + 18 \, C \tan \left (d x + c\right )^{5} + 40 \, A \tan \left (d x + c\right )^{3} + 48 \, C \tan \left (d x + c\right )^{3} + 33 \, A \tan \left (d x + c\right ) + 30 \, C \tan \left (d x + c\right )}{{\left (\tan \left (d x + c\right )^{2} + 1\right )}^{3}}}{48 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.94, size = 91, normalized size = 1.02 \begin {gather*} x\,\left (\frac {5\,A}{16}+\frac {3\,C}{8}\right )+\frac {\left (\frac {5\,A}{16}+\frac {3\,C}{8}\right )\,{\mathrm {tan}\left (c+d\,x\right )}^5+\left (\frac {5\,A}{6}+C\right )\,{\mathrm {tan}\left (c+d\,x\right )}^3+\left (\frac {11\,A}{16}+\frac {5\,C}{8}\right )\,\mathrm {tan}\left (c+d\,x\right )}{d\,\left ({\mathrm {tan}\left (c+d\,x\right )}^6+3\,{\mathrm {tan}\left (c+d\,x\right )}^4+3\,{\mathrm {tan}\left (c+d\,x\right )}^2+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________